package com.scuec.groupfive.service.impl;

import com.scuec.groupfive.entity.UserAccountAge;
import com.scuec.groupfive.mapper.UserAccountAgeMapper;
import com.scuec.groupfive.service.UserAccountAgeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserAccountAgeServiceImpl implements UserAccountAgeService {

    @Autowired
    private UserAccountAgeMapper userAccountAgeMapper;

    @Override
    public UserAccountAge getUserAccountAge(Integer userId) {
        return userAccountAgeMapper.getUserAccountAge(userId);
    }
}